<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        li {
            color: red;
        }

        /* ul li 权重：0,0,0,1+0,0,0,1 = 0,0,0,2 注意：不会有进位 */
        ul li {
            color: green;
            /* why?
            复合选择器有权重叠加
             */
        }

        /* .nav li 权重：0,0,1,0+0,0,0,1 = 0,0,1,1 */
        .nav li {
            color: pink;
        }
    </style>
</head>

<body>
    <ul class="nav">
        <li>appreciate v.感激，欣赏</li>
        <li>appearance n.外表</li>
        <li>application n应用程序</li>
    </ul>
</body>

</html>